<?php
 class Pages extends CI_Model{
    
    function __construct(){
        parent::__construct();
    }
    
    /**
     * Get list product index
     * @author tien.nguyen
     * @return array
     */
    public function getPage($pageCode){
       $query = $this->db->get_where('pages', array('PageCode' => $pageCode)); 
       return $query->row_array(); 
    }
 }
?>